package com.jsb.laundry.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 个人详情实体
 *
 * @data 2022/11/16 16:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "个人详情")
public class UserDetailDto implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty("用户id")
    private String  userId;

    @ApiModelProperty("用户名字")
    private String userName;

    @ApiModelProperty("性别(0：未知,1：男,2：女)")
    private String userSex;

    @ApiModelProperty("出生年月日")
    private String userBirth;

    @ApiModelProperty("地区")
    private String city;

    @ApiModelProperty("实名认证(0: 未实名认证,1: 通过实名认证,2：审核中)")
    private String status;

    @ApiModelProperty("头像地址")
    private String userAvatar;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    @ApiModelProperty("用于逻辑删除(0:正常，1：删除)")
    private String userStatus;
    @ApiModelProperty("用户积分")
    private String userPoints;
    @ApiModelProperty("用户等级")
    private String userGrade;
    @ApiModelProperty("身份证号")
    private String idCard;
    @ApiModelProperty("真实姓名")
    private String idName;
}
